import pymysql

# django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
pymysql.version_info=(1,3,13,"final",0)  # 解决mysqlclient版本出错问题
pymysql.install_as_MySQLdb()

# celery

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app

__all__ = ('celery_app',)